-- GENERATED SPELL FOR [Taskmaster Whipfang] --


function spell0_5932(pUnit, Event) --@Intimidating Roar,n/a--
pUnit:FullCastSpellOnTarget(16508,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5932', 8327, 1)
end

function Sorts_5932(pUnit, Event)
local choix_sorts_5932 = math.random(0, 0)
if choix_sorts_5932 == 0 then
pUnit:RegisterEvent('spell0_5932', 1, 1)
end
end

function mob5932_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5932', math.random(1500, 3000), 1)
end

function mob5932_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5932_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5932_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5932, 1, 'mob5932_Action')
RegisterUnitEvent(5932, 2, 'mob5932_Leave')
RegisterUnitEvent(5932, 3, 'mob5932_Kill')
RegisterUnitEvent(5932, 4, 'mob5932_Die')
